package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@ApiModel(description = "提现记录详情详情")
@Table(name = "tb_withdrawals_record")
public class WithdrawalsRecord {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("会员id")
    private Long fUserId;
    @ApiModelProperty("银行信息id")
    private Long fBankId;
    @ApiModelProperty("提现金额")
    private BigDecimal money;
    @ApiModelProperty("手续费")
    private BigDecimal serviceFee;
    @ApiModelProperty("实际到账金额")
    private BigDecimal realityAccountFee;
    @ApiModelProperty("状态 APPLY(\"待审核\"),\n" +
            "SUCCESS(\"审核通过\"),\n" +
            "IN_TRANSFER_ACCOUNTS(\"转账中\"),\n" +
            "TRANSFER_ACCOUNTS_REJECT(\"转账失败\"),\n" +
            "TRANSFER_ACCOUNTS_SUCCESS(\"转账成功\"),\n" +
            "REJECT(\"审核拒绝\");")
    private String status;
    @ApiModelProperty("类型 BALANCE(\"用户余额提现\")")
    private String type;
    @ApiModelProperty("资产类型")
    private String assetType;
    @ApiModelProperty("提现方式 WEIXIN_TRANSFER_ACCOUNTS(\"提现到零钱\"),PAY_TO_BANK_CARD(\"提现到银行卡\");")
    private String mode;
    @ApiModelProperty("审核描述")
    private String checkRemark;
    @ApiModelProperty("订单号")
    private String code;
    @ApiModelProperty("标识(0会员提现  1系统提现)")
    private Integer isMember = Integer.valueOf(1);
    @ApiModelProperty("到账时间")
    private Date accountTime;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("微信支付总金额")
    private BigDecimal wxPayMoney;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getfUserId() {
        return fUserId;
    }

    public void setfUserId(Long fUserId) {
        this.fUserId = fUserId;
    }

    public Long getfBankId() {
        return fBankId;
    }

    public void setfBankId(Long fBankId) {
        this.fBankId = fBankId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(BigDecimal serviceFee) {
        this.serviceFee = serviceFee;
    }

    public BigDecimal getRealityAccountFee() {
        return realityAccountFee;
    }

    public void setRealityAccountFee(BigDecimal realityAccountFee) {
        this.realityAccountFee = realityAccountFee;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAssetType() {
        return assetType;
    }

    public void setAssetType(String assetType) {
        this.assetType = assetType;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getCheckRemark() {
        return checkRemark;
    }

    public void setCheckRemark(String checkRemark) {
        this.checkRemark = checkRemark;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getIsMember() {
        return isMember;
    }

    public void setIsMember(Integer isMember) {
        this.isMember = isMember;
    }

    public Date getAccountTime() {
        return accountTime;
    }

    public void setAccountTime(Date accountTime) {
        this.accountTime = accountTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getWxPayMoney() {
        return wxPayMoney;
    }

    public void setWxPayMoney(BigDecimal wxPayMoney) {
        this.wxPayMoney = wxPayMoney;
    }
}
